import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

// 引入routerBeforeEach 路由钩子
import './internal/routerBeforeEach.js'
import './internal/routerAfterEach.js'
import './internal/nprogressInit.js'
/**
 * style
 * file 01: CSS resets
 * file 02: element-ui补充 额外提供了一系列类名，用于在某些条件下隐藏元素
 * file 03: iconfont css
 * file 04: nprogress css
 */
import 'normalize.css'
import 'element-ui/lib/theme-chalk/display.css'
import './assets/style/iconfont.less'
import './assets/style/iconfont1.less'
import './assets/style/iconfont2.less'
import 'nprogress/nprogress.css'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
